﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/// <summary>
/// 图像实体，加载补单单据时用到
/// </summary>
namespace MSSClient.Model
{
    [Serializable]
    [DataContract]
    public class ImagesData
    {
        [DataMember]
        public int isIdentifying;//是否标识为发票
        [DataMember]
        public int isOCRSuccess;//是否识别出发票信息
        [DataMember]
        public int isDelete;//补单操作，是否删除
        [DataMember]
        public int isAdd;//补单操作，是否新增
        [DataMember]
        public String id; //图像id
        [DataMember]
        public int imgOrder;//图像顺序
        [DataMember]
        public String scanTime;//图像扫描时间
        [DataMember]
        public String createTime;//图像扫描时间
        [DataMember]
        public String imageCode;//imagecode
        [DataMember]
        public String ftpPath;//ftp路径
        [DataMember]
        public String httpPath;//http路径
        [DataMember]
        public String imageName;//图像名称
        [DataMember]
        public String bizType;//类型：1=报账单，2=供应商发票，3=合同，4=承诺涵，5=零星扫描，6=属地，7=国际
        [DataMember]
        public String invoiceType = "";   //发票类型  3-电子 2-普票 1-专票
        [DataMember]
        public String invoiceCode = "";  //发票代码
        [DataMember]
        public String invoiceNum = "";    //发票号码
        [DataMember]
        public String invoiceDate = "";   //开票日期
        [DataMember]
        public String amount = "";        //不含税金额
        [DataMember]
        public String totalAmount = "";   //含税金额
        [DataMember]
        public String checkCode = "";     //校验码
        [DataMember]
        public String sellerName = "";    //付款方
        [DataMember]
        public String buyerName = "";     //收款方
        [DataMember]
        public String invoiceContent = "";//发票内容

    }
}
